﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WL_Store.Model
{
    /// <summary>
    /// 管理员实体模型
    /// </summary>
    public class EmployeeInfoModel
    {
        //编号
        public string  number { get; set; }
        //员工姓名
        public string  name { get; set; }
        //性别
        public bool  sex { get; set; }
        public string sexName { get {
                return sex ? "女" : "男";
            } }
        //年龄
        public int age { get; set; }
        //权限Id
        public int GradeId { get; set; }
        //权限
        public string  Grade { get; set; }
        //身份证号
        public string idcard { get; set; }
        //联系电话
        public string  phone { get; set; }
        //电子邮箱
        public string email { get; set; }
        //地址
        public string address { get; set; }
        //入职时间
        public DateTime entrytime { get; set; }
        //注册时间
        public DateTime regtime { get; set; }
        //登录名
        public string loginName { get; set; }
        //登录密码
        public string loginPassword { get; set; }

    }
}
